{% extends "admin.html" %}

{% block title %} admin - compose {% end %}

{% block header %}
admin - upload
{% end %}



{% block body %}
  <div class="aeCompose">
	<form method="post" action="" enctype="multipart/form-data">
	  <input id="cats" type="hidden" name="cats" value="" />
	  <div class="row">
		<label>tag</label><div class="tag">
		{% for cat in cats %}
		<span onclick="select_cat(this,'{{ cat['name'] }}')">{{ cat['name'] }}</span>
		{% end %}
		</div>
	  </div>
	  <div class="row">
		<label>files</label>
		<div style="border:1px solid #ccc">
		  <input type="file" name="upload" value="" class="file"/>
		  <input type="file" name="upload" value="" class="file"/>
		  <input type="file" name="upload" value="" class="file"/>
		  <input type="file" name="upload" value="" class="file"/>
		  <input type="file" name="upload" value="" class="file"/>
		</div>
	  </div>
	  
	  <div class="row">
		<label>caption</label><input type="text" name="caption" value="" />
	  </div>
	  <div class="row">
		<label>content</label><textarea name="content" rows="30" style="width:98%"></textarea>
	  </div>
	  
	  <div class="hr">
		<input type="submit" name="submit" value="Normal" /> <input type="submit" name="submit" value="Source" />
	  </div>
	  <div class="hr"></div>
	  {{ xsrf_form_html() }}
	</form>
  </div>
{% end %}


